import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import globalComponentA from "@/components/globalComponent/globalComponentA.vue"
import globalComponentB from "@/components/globalComponent/globalComponentB.vue"
import globalComponentC from "@/components/globalComponent/globalComponentC.vue"

//引入tailwindcss所需要的css文件
import './index.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)

//注册全局组件
app
    .component("globalComponentA", globalComponentA)
    .component("globalComponentB", globalComponentB)
    .component("globalComponentC", globalComponentC)

app.mount('#app')
